//
//  NSStringTests.m
//  NSStringTests
//
//  Created by Ofri Wolfus on 08/04/07.
//  Copyright Ofri Wolfus 2007 . All rights reserved.
//

#import "NSStringTests.h"


@implementation NSStringTests

- (NSString *)testConstantString {
	return @"Hello";
}

- (NSString *)testFormatString {
	return [NSString stringWithFormat:@"%@", @"Hello"];
}

- (NSString *)testCapitalizedString {
	return [@"hello" capitalizedString];
}

- (DPTestStatus)verifyResult:(id)result ofTest:(NSString *)testName {
	DPAssert([result isKindOfClass:[NSString class]],
			 @"The returned string is not an NSString instance");
	
	return [result isEqualToString:@"Hello"];
}

@end
